﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class PlayerInfoDisplay : MonoBehaviour
{
    public PlayerComponent playerComponent;

    public Text defence;
    public Text speed;
    public Text attack;

    void Update()
    {
        speed.text = playerComponent.MovementSpeed.ToString();
        defence.text = playerComponent.Defence.ToString();
        attack.text = playerComponent.Attack.ToString();
    }
}
